import pandas as pd
import matplotlib.pyplot as plt

print("matplotlib学习案例")


# 绘制一个简单的折线图
data = pd.read_excel('五月温度走向图.xls')
# print(data)

x = data['月份']
y = data['温度']
# print(x)
# print(y)

plt.plot(x,y)
plt.show()